package com.ujoin.dao;

import java.util.List;

import com.ujoin.bean.UserActivity;

public interface IUserActivityDAO {

	public abstract void save(UserActivity transientInstance);

	public abstract void delete(UserActivity persistentInstance);

	public abstract UserActivity findById(java.lang.Integer id);

	public abstract List findByExample(UserActivity instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByUserId(Object userId);

	public abstract List findByActivityId(Object activityId);

	public abstract List findByHasGraded(Object hasGraded);

	public abstract List findByValid(Object valid);

	public abstract List findAll();

	public abstract UserActivity merge(UserActivity detachedInstance);

	public abstract void attachDirty(UserActivity instance);

	public abstract void attachClean(UserActivity instance);

}